package com.bwie.controller;

import com.bwie.pojo.Active;
import com.bwie.service.ActiveService;
import com.bwie.service.impl.ActiveServiceImpl;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.web.bind.annotation.*;

import org.springframework.beans.factory.annotation.Autowired;

import java.text.DateFormatSymbols;

/**
 * 抽奖活动表(tb_active)表控制层
 *
 * @author xxxxx
 */
@RestController
@RequestMapping("/win/win")
public class ActiveController {
    /**
     * 服务对象
     */
    @Autowired
    private ActiveService activeService;


    /**
     * @author: 鑫仔
     * @description: 活动列表
     * @params: [com.bwie.vo.PageInfoVo]
     * @return: com.bwie.utils.R
     * @date: 2025/7/29 10:37
     */
    @PostMapping("activeList")
    public R activeList(
            @RequestBody PageInfoVo pageInfoVo
    ) {
        return activeService.activeList(pageInfoVo);
    }


}
